package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ResultSpringMVC {
    @RequestMapping("/t1")
    public String test1(){
            return "/WEB-INF/jsp/test.jsp";
    }
    @RequestMapping("/t2")
    public String test2(){
        return "forward:/WEB-INF/jsp/test.jsp";
    }
    @RequestMapping("/rsm/t3")
    public String test3(){
        return "redirect:/index.jsp";
    }
}
